Repository navigation
feat(seer): Open the Seer Agent sidebar by default on select pages - #133295
Merged
Merged
Conversation
Open the sidebar when the dashboards list, monitors, alerts, or trace page mounts, behind the seer-explorer-auto-open flag. Skip it below the lg breakpoint, where the panel docks to the bottom or crowds the page. Closing the panel remembers the dismissal in localStorage, so it stays closed on every page and tab until the user opens it again. The hook only ever opens the panel and open state is already shared across pages, so browsing between pages never flips it on and off. Co-Authored-By: Bruno Garcia <1633368+bruno-garcia@users.noreply.github.com>
bruno-garcia
marked this pull request as ready for review
December 3, 2026 00:59
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Automatic opening steals page focus and can misattribute navigation analytics, while transferring Seer to picture-in-picture incorrectly persists a dismissal that suppresses future auto-opens.
5 open issues
What changed in this PR
Adds feature-gated automatic opening of the Seer sidebar on selected pages, with persistent dismissal preferences.
Changes:
- Enables auto-open on dashboard lists, monitors, alerts, and trace waterfalls at desktop widths.
- Saves dismissals across tabs and clears them when users reopen Seer.
- Adds auto-open analytics and behavior tests.
| File | Description |
|---|---|
| static/app/views/seerExplorer/seerExplorerContextProvider.tsx | Persists and clears dismissal preferences. |
| static/app/views/seerExplorer/hooks/useAutoOpenSeerExplorer.tsx | Implements guarded, page-mount auto-opening. |
| static/app/views/seerExplorer/hooks/useAutoOpenSeerExplorer.spec.tsx | Tests eligibility and dismissal behavior. |
| static/app/views/performance/traceDetails/index.tsx | Enables auto-open for trace waterfalls. |
| static/app/views/detectors/list/allMonitors.tsx | Enables auto-open for monitors. |
| static/app/views/dashboards/manage/index.tsx | Enables auto-open for dashboard lists. |
| static/app/views/automations/list.tsx | Enables auto-open for alerts. |
| static/app/utils/analytics/seerAnalyticsEvents.tsx | Registers the auto-open analytics event. |
Review effort: Balanced
Auto-opening no longer moves focus into the Seer composer, and it attributes the open to the page that asked instead of the previous route. Popping the sidebar out into picture-in-picture no longer counts as the user closing Seer, so it doesn't suppress later auto-opens. Refs CW-3158
bruno-garcia
approved these changes
Dec 3, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


The Seer Agent panel is hidden behind the "Ask Seer" button, and customer feedback says people miss it. Now that chat suggestions are tailored to each page, this opens the sidebar automatically on pages where Seer helps people get started. It's behind
seer-explorer-auto-open, so #133294 has to land first.Pages: dashboards list (including Sentry Built), monitors (
/monitors/), alerts (/monitors/alerts/), and the trace waterfall. Single dashboard pages, issues, and explore pages are left alone.lgbreakpoint (1200px) and wider. Below that, the sidebar docks to the bottom and covers about half the page. Phones and tablets never open it.seer.explorer.global_panel.auto_openedevent tells auto-opens apart from user opens (global_panel.openedfires for both).Open decision: the breakpoint. 900px was suggested.
lgkeeps the panel docked on the right with the secondary nav expanded, and it's a one-line change either way.Refs CW-3158
via @bruno-garcia.
--
View Session [Sentry]